package com.wn.service;

import com.wn.entity.Manager;
import com.wn.entity.ResponseEntity;

public interface ManagerService {

    ResponseEntity addOne(Manager manager);

    ResponseEntity deleteOne(int id);

    ResponseEntity update(Manager manager);

    ResponseEntity findAll(int currentPage, int pageSize);

    ResponseEntity findAll();

    ResponseEntity findByCondition(String account, String status,int currentPage, int pageSize);

    Manager findByUsername(String username);

    Manager login(String username, String password);
}
